package cn.basic.social.manager.handler.wxtalkhandler;

import cn.basic.social.api.weixintalk.WxRequest;
import cn.basic.social.api.weixintalk.WxResponse;
import cn.basic.social.manager.config.ProviderConfig;
import cn.basic.social.manager.config.RedisCache;

/**
 * @ClassName ThirdpartWxService
 * @Description 微信-接口
 * @Author zlf
 * @Date 2023/9/1 17:27
 */
public interface ThirdpartWxService<T extends WxResponse, E extends WxRequest> {

    /**
     * 请求方法
     *
     * @author zlf
     * @date 16:46 2023/9/1
     */
    default T invoke(E e, ProviderConfig providerConfig, RedisCache redisCache) throws Exception {
        return null;
    }

}
